package com.et114.modules.org.form;

import java.util.List;

import com.et114.components.acegi.Constants;
import com.et114.core.form.BaseActionForm;
//@author zhouxy guanhw
public class GroupForm extends BaseActionForm {
    /**
	 * 
	 */
	private static final long	serialVersionUID	= 4040847629340831055L;
	private Long grpId;
    private Long fgrpId;
    private String grpName;
    private String grpType;
    private String grpCode;
    private String grpRelType;
    private String grpFlag = Constants.ORG_GROUP_ENTITY_N;
    private String grpPath ;

    private String relType;
    private String chnName;
    private String engName;
    private Boolean workFlg = Boolean.TRUE;

    private String contMan;
    private String contTel;
    private String email;
    private Integer maxUser;
    private Integer maxOnln;
    private String useFlag;
    private String rmk;
    
    private Long[] deleteId;
    private List groupList;
    private String grpNodeTgtAction;
    private String principalIds ;
    private String oldGrpCode;
	private String orders ;


    public String getGrpNodeTgtAction() {
        return grpNodeTgtAction;
    }

    public void setGrpNodeTgtAction(String grpNodeTgtAction) {
        this.grpNodeTgtAction = grpNodeTgtAction;
    }

    public Long getGrpId() {
        return grpId;
    }

    public void setGrpId(Long grpId) {
        this.grpId = grpId;
    }

    public Long getFgrpId() {
        return fgrpId;
    }

    public void setFgrpId(Long fgrpId) {
        this.fgrpId = fgrpId;
    }

    public String getGrpName() {
        return grpName;
    }

    public void setGrpName(String grpName) {
        this.grpName = grpName;
    }

    public String getGrpType() {
        return grpType;
    }

    public void setGrpType(String grpType) {
        this.grpType = grpType;
    }

    public String getGrpRelType() {
        return grpRelType;
    }

    public void setGrpRelType(String grpRelType) {
        this.grpRelType = grpRelType;
    }

    public String getRelType() {
        return relType;
    }

    public void setRelType(String relType) {
        this.relType = relType;
    }

    public String getChnName() {
        return chnName;
    }

    public void setChnName(String chnName) {
        this.chnName = chnName;
    }

    public String getEngName() {
        return engName;
    }

    public void setEngName(String engName) {
        this.engName = engName;
    }

    public Boolean getWorkFlg() {
        return workFlg;
    }

    public void setWorkFlg(Boolean workFlg) {
        this.workFlg = workFlg;
    }

    public String getContMan() {
        return contMan;
    }

    public void setContMan(String contMan) {
        this.contMan = contMan;
    }

    public String getContTel() {
        return contTel;
    }

    public void setContTel(String contTel) {
        this.contTel = contTel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getMaxUser() {
        return maxUser;
    }

    public void setMaxUser(Integer maxUser) {
        this.maxUser = maxUser;
    }

    public Integer getMaxOnln() {
        return maxOnln;
    }

    public void setMaxOnln(Integer maxOnln) {
        this.maxOnln = maxOnln;
    }

    public String getUseFlag() {
        return useFlag;
    }

    public void setUseFlag(String useFlag) {
        this.useFlag = useFlag;
    }

    public String getRmk() {
        return rmk;
    }

    public void setRmk(String rmk) {
        this.rmk = rmk;
    }

    public Long[] getDeleteId() {
        return deleteId;
    }

    public void setDeleteId(Long[] deleteId) {
        this.deleteId = deleteId;
    }

    public List getGroupList() {
        return groupList;
    }

    public void setGroupList(List groupList) {
        this.groupList = groupList;
    }

    public boolean isValidGrpId() {
        return grpId != null && grpId.longValue() != 0L;
    }

	public String getPrincipalIds ( ) {
		return principalIds;
	}

	public void setPrincipalIds ( String principalIds ) {
		this.principalIds = principalIds;
	}

	public String getGrpFlag ( ) {
		return grpFlag;
	}

	public void setGrpFlag ( String grpFlag ) {
		this.grpFlag = grpFlag;
	}

	public String getGrpCode ( ) {
		return grpCode;
	}

	public void setGrpCode ( String grpCode ) {
		this.grpCode = grpCode;
	}

	public String getOldGrpCode ( ) {
		return oldGrpCode;
	}

	public void setOldGrpCode ( String oldGrpCode ) {
		this.oldGrpCode = oldGrpCode;
	}

	public String getOrders ( ) {
		return orders;
	}

	public void setOrders ( String orders ) {
		this.orders = orders;
	}

	public String getGrpPath ( ) {
		return grpPath;
	}

	public void setGrpPath ( String grpPath ) {
		this.grpPath = grpPath;
	}

}
